﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace ClassRoom.Packets
{
    public enum BlackBoardAction
    { 
        Draw,
        Erase,
        MouseUp
    }

    public class BlackBoard
    {
        BlackBoardAction _blackBoardAction;
        Color _color;
        List<double> _xCoordinateCollection;
        List<double> _yCoordinateCollection;

        public BlackBoardAction BlackBoardAction
        {
            get { return _blackBoardAction; }
            set { _blackBoardAction = value; }
        }

        public Color Color
        {
            get { return _color; }
            set { _color = value; }
        }

        public List<double> XCoordinateCollection
        {
            get { return _xCoordinateCollection; }
            set { _xCoordinateCollection = value; }
        }

        public List<double> YCoordinateCollection
        {
            get { return _yCoordinateCollection; }
            set { _yCoordinateCollection = value; }
        }

        public BlackBoard()
        { 
        }

        public BlackBoard(BlackBoardAction blackBoardAction, List<double> xCoordinateCollection, List<double> yCoordinateCollection)
        {
            this.BlackBoardAction = blackBoardAction;
            this.XCoordinateCollection = xCoordinateCollection;
            this.YCoordinateCollection = yCoordinateCollection;
        }

        public BlackBoard(BlackBoardAction blackBoardAction, Color color, List<double> xCoordinateCollection, List<double> yCoordinateCollection)
        {
            this.BlackBoardAction = blackBoardAction;
            this.Color = color;
            this.XCoordinateCollection = xCoordinateCollection;
            this.YCoordinateCollection = yCoordinateCollection;
        }
    }
}
